package Other;

public class Field {
	public static int adjacentFields[][] = {
		{-2, 0}, {-1, 1}, {1, 1}, {2, 0}, {1, -1}, {-1, -1}		
	};
	
	// coordinates
	public int i, j;

	public Field(int i, int j){
		this.i = i;
		this.j = j;
	}

	public Field(Field field) {
		this(field.i, field.j);
	}
	
	public boolean compare(Field f){
		return f.i == this.i && f.j == this.j;
	}
}
